<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Grupo12daturma2MIEIC4: Referência à classe no</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Localizar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Grupo12daturma2MIEIC4&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Localizar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;membro</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classno.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membros públicos</a> &#124;
<a href="#pri-attribs">Atributos Privados</a>  </div>
  <div class="headertitle">
<div class="title">Referência à classe no</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="no" -->
<p>Classe que define um ponto geográfico.  
 <a href="classno.html#details">Mais...</a></p>

<p><code>#include &lt;<a class="el" href="mapas_8h_source.html">mapas.h</a>&gt;</code></p>

<p><a href="classno-members.html">Mostrar lista completa dos membros</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Membros públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#a7a012e719eafb9b631ab7a42cd15a716">no</a> (string linha)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#a3fe66c31bbfcca1c83fc938c5868906d">~no</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Recebe uma string contendo uma linha do ficheiro de nodes obtidos da adapta��o do OSM.  <a href="#a3fe66c31bbfcca1c83fc938c5868906d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#ab1e7cc5605ab0feecc6383b352fbdf4c">operator==</a> (<a class="el" href="classno.html">no</a> no1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destrutor.  <a href="#ab1e7cc5605ab0feecc6383b352fbdf4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#aa1b93bb203f0a1dfd4cd906ed33fc334">getID</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Operador igualdade necessário para a utilização do algoritmo Dijkstra.  <a href="#aa1b93bb203f0a1dfd4cd906ed33fc334"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#abd6c57022c032f4953833bdce662e917">latitude</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Devolve o identificador de um nó do vector de pontos.  <a href="#abd6c57022c032f4953833bdce662e917"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#ad85f4b9030e74db678640b53d97b117f">longitude</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos Privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#ac517e6c74e70237ef721d67836e2a9f3">identificador</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_dados.html" title="Classe para guardar todos os dados da aplicação.">Dados</a> a guardar no n�  <a href="#ac517e6c74e70237ef721d67836e2a9f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#ac63dfdd6840b84e561d5eff5ba0941f7">posX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#aaf3d66c0aa5c8668dd7159005e59cf1d">posY</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#a8f48fc489a7d01ee82875808e6212b9c">projX</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classno.html#a779b0592609d02c60d00bc8dc17970a9">projY</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Descrição detalhada</h2>
<div class="textblock"><p>Classe que define um ponto geográfico. </p>

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00025">25</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>
</div><hr/><h2>Documentação dos Construtores &amp; Destrutor</h2>
<a class="anchor" id="a7a012e719eafb9b631ab7a42cd15a716"></a><!-- doxytag: member="no::no" ref="a7a012e719eafb9b631ab7a42cd15a716" args="(string linha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">no::no </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>linha</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Implementação da classe no Cosntrutor. </p>

<p><p>identificador n�;latitude;longitude;projec��o plana da longitude (X); projec��o plana da latitude (Y) </p>
</p>

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00019">19</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

<p>Referências <a class="el" href="mapas_8h_source.html#l00037">identificador</a>, <a class="el" href="mapas_8h_source.html#l00038">posX</a>, <a class="el" href="mapas_8h_source.html#l00039">posY</a>, <a class="el" href="mapas_8h_source.html#l00040">projX</a> e <a class="el" href="mapas_8h_source.html#l00041">projY</a>.</p>

</div>
</div>
<a class="anchor" id="a3fe66c31bbfcca1c83fc938c5868906d"></a><!-- doxytag: member="no::~no" ref="a3fe66c31bbfcca1c83fc938c5868906d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">no::~no </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Recebe uma string contendo uma linha do ficheiro de nodes obtidos da adapta��o do OSM. </p>
<p>Destrutor. </p>

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00034">34</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos métodos</h2>
<a class="anchor" id="aa1b93bb203f0a1dfd4cd906ed33fc334"></a><!-- doxytag: member="no::getID" ref="aa1b93bb203f0a1dfd4cd906ed33fc334" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int no::getID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Operador igualdade necessário para a utilização do algoritmo Dijkstra. </p>

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00045">45</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

<p>Referências <a class="el" href="mapas_8h_source.html#l00037">identificador</a>.</p>

</div>
</div>
<a class="anchor" id="abd6c57022c032f4953833bdce662e917"></a><!-- doxytag: member="no::latitude" ref="abd6c57022c032f4953833bdce662e917" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float no::latitude </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Devolve o identificador de um nó do vector de pontos. </p>

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00050">50</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

<p>Referências <a class="el" href="mapas_8h_source.html#l00039">posY</a>.</p>

</div>
</div>
<a class="anchor" id="ad85f4b9030e74db678640b53d97b117f"></a><!-- doxytag: member="no::longitude" ref="ad85f4b9030e74db678640b53d97b117f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float no::longitude </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00055">55</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

<p>Referências <a class="el" href="mapas_8h_source.html#l00038">posX</a>.</p>

</div>
</div>
<a class="anchor" id="ab1e7cc5605ab0feecc6383b352fbdf4c"></a><!-- doxytag: member="no::operator==" ref="ab1e7cc5605ab0feecc6383b352fbdf4c" args="(no no1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool no::operator== </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classno.html">no</a>&#160;</td>
          <td class="paramname"><em>no1</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destrutor. </p>

<p>Definido na linha <a class="el" href="mapas_8cpp_source.html#l00038">38</a> do ficheiro <a class="el" href="mapas_8cpp_source.html">mapas.cpp</a>.</p>

<p>Referências <a class="el" href="mapas_8h_source.html#l00037">identificador</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos dados membro</h2>
<a class="anchor" id="ac517e6c74e70237ef721d67836e2a9f3"></a><!-- doxytag: member="no::identificador" ref="ac517e6c74e70237ef721d67836e2a9f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classno.html#ac517e6c74e70237ef721d67836e2a9f3">no::identificador</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_dados.html" title="Classe para guardar todos os dados da aplicação.">Dados</a> a guardar no n� </p>

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00037">37</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>

<p>Referenciado por <a class="el" href="mapas_8cpp_source.html#l00045">getID()</a>, <a class="el" href="mapas_8cpp_source.html#l00019">no()</a> e <a class="el" href="mapas_8cpp_source.html#l00038">operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="ac63dfdd6840b84e561d5eff5ba0941f7"></a><!-- doxytag: member="no::posX" ref="ac63dfdd6840b84e561d5eff5ba0941f7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classno.html#ac63dfdd6840b84e561d5eff5ba0941f7">no::posX</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00038">38</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>

<p>Referenciado por <a class="el" href="mapas_8cpp_source.html#l00055">longitude()</a> e <a class="el" href="mapas_8cpp_source.html#l00019">no()</a>.</p>

</div>
</div>
<a class="anchor" id="aaf3d66c0aa5c8668dd7159005e59cf1d"></a><!-- doxytag: member="no::posY" ref="aaf3d66c0aa5c8668dd7159005e59cf1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classno.html#aaf3d66c0aa5c8668dd7159005e59cf1d">no::posY</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00039">39</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>

<p>Referenciado por <a class="el" href="mapas_8cpp_source.html#l00050">latitude()</a> e <a class="el" href="mapas_8cpp_source.html#l00019">no()</a>.</p>

</div>
</div>
<a class="anchor" id="a8f48fc489a7d01ee82875808e6212b9c"></a><!-- doxytag: member="no::projX" ref="a8f48fc489a7d01ee82875808e6212b9c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classno.html#a8f48fc489a7d01ee82875808e6212b9c">no::projX</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00040">40</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>

<p>Referenciado por <a class="el" href="mapas_8cpp_source.html#l00019">no()</a>.</p>

</div>
</div>
<a class="anchor" id="a779b0592609d02c60d00bc8dc17970a9"></a><!-- doxytag: member="no::projY" ref="a779b0592609d02c60d00bc8dc17970a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classno.html#a779b0592609d02c60d00bc8dc17970a9">no::projY</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="mapas_8h_source.html#l00041">41</a> do ficheiro <a class="el" href="mapas_8h_source.html">mapas.h</a>.</p>

<p>Referenciado por <a class="el" href="mapas_8cpp_source.html#l00019">no()</a>.</p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes ficheiros:<ul>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="mapas_8h_source.html">mapas.h</a></li>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="mapas_8cpp_source.html">mapas.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classno.html">no</a>      </li>
      <li class="footer">Gerado em Fri May 13 2011 02:00:27 para Grupo12daturma2MIEIC4 por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Amigos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
